class Simulation_cfg:
    def __init__(self):
        self.Flag_run_vissim = False  # 是否开始Vissim仿真
        self.Flag_vis_step = 1000  # Vissim仿真总步长
        self.Flag_vis_step_time = 0.2  # vissim仿真每一步间隔时间(单位：s)
        self.Flag_vis_update_step = 5  # vissim仿真每隔几步进行更新数据库(单位：s)

        self.Flag_map_update_time = 2  # UI界面地图每隔多长时间刷新一次(单位：s)
        self.Flag_table_update_time = 2  # UI表格每隔多长时间刷新一次(单位：s)

        self.Flag_Vissim_Road = "C:\\Users\\LENOVO\\Desktop\\UI_Project\\Py_Vissim\\road_v2.0\\road.inp"

        self.Flag_db_port = 'rm-m5ei41q6w870w5413ho.mysql.rds.aliyuncs.com'
        self.Flag_db_user = "lhc_0531"
        self.Flag_db_password = "@lihongchen0531"

        # self.Flag_db_port = 'localhost'
        # self.Flag_db_user = "root"
        # self.Flag_db_password = "lihongchen0531"

        self.Remote_cfg = False
        self.Remote_run = False
        self.Remote_test = False

        self.Remote_ip = None
        self.Remote_port = None

